<div class="container-fluid">
    <div class="row">
        <div class="col-md-12">
            <div class="alert alert-info alert-dismissible fade in" role="alert" style="margin-bottom: 10px">
                <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
                <h4><i class="glyphicon glyphicon-volume-up"></i> ${panel_title} </h4>
                <p>${panel_description}</p>
            </div>
        </div>
        <div class="col-md-7">
            <div class="panel panel-default">
                <div class="panel-heading"><strong><i class="fa fa-file-word-o"></i>  最近更新文档</strong></div>
                <div class="panel-body" style="min-height: 550px">
                    <div class="document-update">
                        <ul>
                            #foreach ($logDocument in $logDocuments)
                            <li>
                                <div>
                                    #if (${logDocument.action} == "3")
                                        #if (${logDocument.document_type} == "1")
                                            <i class="fa fa-file-word-o"></i>
                                        #else
                                            <i class="fa fa-folder-o"></i>
                                        #end
                                        ${logDocument.document_name}
                                    #else
                                    <a href="/document/index?document_id=${logDocument.document_id}" target="_parent" class="text text-info text-font-15">
                                        #if (${logDocument.document_type} == "1")
                                            <i class="fa fa-file-word-o"></i>
                                        #else
                                            <i class="fa fa-folder-o"></i>
                                        #end
                                        ${logDocument.document_name}</a>
                                    #end
                                </div>
                                <span class="text text-font-12 document-user-time"><i class="fa fa-calendar"></i> 被
                                #if (${logDocument.user_id} == $login_user_id)
                                    <a href="/system/main/index" target="_parent">${logDocument.username}（${logDocument.given_name}）<span class="text text-primary"></span> </a>
                                #else
                                    <a href="/user/info?user_id=${logDocument.user_id}">${logDocument.username}（${logDocument.given_name}）<span class="text text-primary"></span> </a>
                                #end
                                #if (${logDocument.action} == "1")
                                                                                                创建
                                #elseif (${logDocument.action} == "2")
                                                                                                修改
                                #elseif (${logDocument.action} == "3")
                                                                                                删除
                                #end
                                                                                      于 ${logDocument.create_time}</span>
                            </li>
                            <hr>
                            #end
                        </ul>
                    </div>
                    <div class="center">
                    #parse("paginator/default.html")
                    </div>
                </div>
            </div>
        </div>
        <div class="col-md-5">
            <div class="panel panel-default" style="min-height: 300px">
                <div class="panel-heading"><strong><i class="fa fa-internet-explorer"></i> 快捷链接</strong></div>
                <div class="panel-body">
                    <div class="row">
                        #foreach ($link in $links)
                        <div class="col-md-6 fast-link">
                            <label> <a href="${link.url}" target="_blank"><i class="fa fa-angle-double-right fa-lg"></i> ${link.name} <i class="fa fa-external-link"></i></a></label>
                        </div>
                        #end
                    </div>
                </div>
            </div>
        </div>
        <div class="col-md-5" >
            <div class="panel panel-default" style="min-height: 300px">
                <div class="panel-heading"><strong><i class="fa fa-address-book-o"></i> 系统联系人</strong></div>
                <div class="panel-body">
                    <ul class="list-group">
                        #foreach ($contact in $contacts)
                        <li class="list-group-item">${contact.position}(${contact.name})：<i class="glyphicon glyphicon-phone"></i>${contact.mobile} <i class="glyphicon glyphicon-envelope"></i> ${contact.email}</li>
                        #end
                    </ul>
                </div>
            </div>
        </div>
    </div>
</div>
